﻿using System;
using System.Data;
using KPIS.GERP.GFMS.MODEL;
using System.Collections.Generic;

namespace KPIS.GERP.GFMS.IDAL
{
    public interface IDAL_ICM_Bidder
    {
        IList<M_ICM_Bidder> GetFull(Nullable<int> icm_bid_seq, Nullable<int> icm_pr_seq
            , string collateral_return_status, string receive_status, string offer_status, string winner_status);

        IList<M_ICM_Bidder> GetList(Nullable<int> icm_bid_seq, Nullable<int> icm_pr_seq
            , string collateral_return_status, string receive_status, string offer_status, string winner_status);

        M_ICM_Bidder GetInfo(int seq);

        M_ICM_Bidder GetInfo(Nullable<int> icm_bid_seq, Nullable<int> contact_seq);

        //string SelectRecentInsertedRoleSeq();

        string Insert(M_ICM_Bidder info);
        void UpdateReceive(M_ICM_Bidder info);
        string UpdateOffer(M_ICM_Bidder info, string receipt_no, Nullable<double> amount);
        void Delete(int seq);
        string AmountBidder(string BidId);
    }
}
